package cn.dlc.com.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.dlc.com.dao.UserMapper;
import cn.dlc.com.model.User;
import cn.dlc.com.service.UserService;

@Service
@Transactional
public class UserServiceImpl implements UserService {
	
	@Autowired
	private UserMapper configMapper;

	@Override
	public User getUserById(String id) {
		return configMapper.selectByPrimaryKey(id);
	}

}
